/*
 * @Author       : wang chao
 * @Date         : 2023-01-18 14:41:46
 * @LastEditors  : wang chao
 * @LastEditTime : 2023-05-16 08:50:33
 * @FilePath     : rtu_virtualIO.h
 * @Description  :
 * Copyright 2023 BingShan, All Rights Reserved.
 */
#ifndef _VIO_H_
#define _VIO_H_

#include "stdio.h"
#include "string.h"
#include "stdint.h"
#include "rtu_mb.h"
/*
 * regs
 */
int rtu_read_hold_regs(uint16_t addr, uint16_t num, uint16_t* buffer);
int rtu_write_hold_regs(uint16_t addr, uint16_t num, uint16_t* buffer);
#endif
